using MediatR;
using RBAC.ErrorCode;

namespace RBAC.Write.Api.Application.Command.ERP.MaterialFile
{
    /// <summary>
    /// 导出物料基本档案命令
    /// </summary>
    public class ExportMaterialCommand : IRequest<APIResult<byte[]>>
    {
        /// <summary>
        /// 物料编码模糊查询条件
        /// </summary>
        public string? MaterialCode { get; set; }

        /// <summary>
        /// 物料名称模糊查询条件
        /// </summary>
        public string? MaterialName { get; set; }

        /// <summary>
        /// 物料分类ID筛选条件
        /// </summary>
        public long? TypeId { get; set; }

        /// <summary>
        /// 状态筛选条件
        /// </summary>
        public int? Status { get; set; }
    }
}